<cfcomponent displayname="treeController" extends="ModelGlue.unity.controller.Controller" output="false">

	<cffunction name="init" access="public" returntype="any" hint="cfsvn object constructor.">
		<cfargument name="ModelGlue" required="true" type="ModelGlue.ModelGlue" />
		<cfargument name="InstanceName" required="true" type="string" />
		<cfset super.init( arguments.ModelGlue ) />
		<cfreturn this />
	</cffunction>

	<cffunction name="setSvnTreeActions" access= "public" returntype="void" output="false">	
		<cfargument name="SvnTreeActions" type= "any" required="true">	
		<cfset variables.SvnTreeActions = arguments.SvnTreeActions/>
	</cffunction>

	<cffunction name="getSvnTreeActions" access= "public" returntype="any" output="false">	
		<cfreturn variables.SvnTreeActions />
	</cffunction>
	
	<cffunction name="runAction" access= "public" returntype="any" output="false">	
		<cfargument name="event">
		<cfset arguments.event.setValue("treeActionResults",getSvnTreeActions().runAction(arguments.event.getValue("action"),arguments.event.getValue("data"))) />
	</cffunction>
</cfcomponent>